"use strict";
//指定确定类型
var arrNum = [1, 23, 4, 5, 6, 7, 5];
var arrStr = ["js", "ts", "java"];
//泛型
var arrFan = [11, 12.2, 34];
var arrFanStr = ["11", "12.2", "34"];
//元组类型(数组里每个元素的类型)
var arrTup = ["tstr", 3.15, true];
var arr4 = ["123", true, 123];
